package com.guomao.dminio;

import cn.hutool.core.lang.Validator;
import cn.hutool.crypto.SecureUtil;
import cn.hutool.http.HttpUtil;

public class Hootools {


    public static void main(String[] args) {

        String str = "123456";
        String md5Str = SecureUtil.md5(str);
        System.out.println(md5Str);//e10adc3949ba59abbe56e057f20f883e

        boolean result = Validator.isEmail("321654564qq.com");
        System.out.println(result);

        System.out.println(Validator.isIpv4("192.168.1.8888"));

        String s = HttpUtil.get("https://www.hutools.cn");
        System.out.println(s);
    }
}
